/*
*************************************
* PocketGTT
*************************************
This file is part of PocketGTT.

PocketGTT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PocketGTT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PocketGTT.  If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 1.0

Item {

//    anchors.fill: parent
//    anchors.centerIn: parent

    Rectangle {
        anchors.fill: listPassView
        color: myWin.theme.preferred_list_background
        opacity: 0.5

    }
    ListView {
        id: listPassView
        anchors.top: parent.top
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.bottom: descBox.top
        anchors.leftMargin: 8
        anchors.rightMargin: 8

        clip: true

        model: myWin.statesMan.fermata.LineeCount
        delegate: PassaggiViewContent_StopListDelegate {}

    }

    Rectangle {
        id: descBox

        width: parent.width
        height: desc.height + 6

        anchors.bottom: parent.bottom
        anchors.bottomMargin: 8
        anchors.horizontalCenter: parent.horizontalCenter

        color: myWin.theme.preferred_list_background

        Separator {
//            id: bar
            anchors.top: parent.top
            width: parent.width
            height: 2
            radius: 0

            color: myWin.theme.violet_background
        }

        Text {

            id: desc
            width: parent.width * 0.95
            anchors.centerIn: parent

            text: "Gli orari sottolineati sono una previsione calcolata in tempo reale"
            wrapMode: Text.Wrap
            color: "white"
            horizontalAlignment: Text.AlignHCenter
            font.pixelSize: myWin.theme.textSizeS

        }

    }

}
